﻿using EasyToHelp.Business;
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace EasyToHelp.Service
{
    public class GridManage: IGridManage
    {
        #region Grid数据源
        /// <summary>
        /// Grid数据源
        /// </summary>
        /// <param name="Table"></param>
        /// <param name="WhereJson"></param>
        /// <returns></returns>
        public object GetGridData(string Table, string WhereJson)
        {
            return JsonConvert.SerializeObject(GridBusiness.GetTableInfo(Table, WhereJson));
        }
        #endregion
    }
}
